<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
    	<?php echo $this->Html->charset(); ?>
    	<title><?php echo __('Jingbee - Admin - '.$title_for_layout); ?></title>
    	<?php
    		echo $this->Html->meta('icon');
    		echo $this->Html->css(array(
    									'core',
    									'css3',
    									'layout'		
    				));
    		echo $this->Html->script(array(
                                        'jquery-1.3.2.min',
                                        'easyTooltip',
                                        'jquery-ui-1.7.2.custom.min',
                                        'jquery.wysiwyg',
                                        'hoverIntent',
                                        'superfish',
                                        'custom'
                                    ));
            echo $this->fetch('meta');
    		echo $this->fetch('css');
    		echo $this->fetch('script');
    	?>
    </head>
	<body>
        <div id="container">
            <?php echo $this->element('Nav/admin'); ?>
            <!-- Background wrapper -->
            <div id="bgwrap">
                <!-- Main Content -->
                <div id="content">
                        <?php echo $this->Session->flash(); ?>
                	    <?php echo $this->fetch('content'); ?>
                </div>
                <!-- End of Main Content -->
            </div>
            <!-- End of bgwrap -->
            <!-- End of Container -->
        </div>
		<!-- Footer -->
		<div id="footer">
			<p class="mid">
				<?php  echo $this->Html->link('Logout', array('base' => false,'controller' => 'Users', 'action' => 'logout')); ?>
			</p>
			<p class="mid">
				<!-- Change this to your own once purchased -->
				&copy; Wide Admin 2012. All rights reserved.
				<!-- -->
			</p>
		</div>
		<!-- End of Footer -->
        <?php// echo $this->element('sql_dump'); ?>
	</body>
</html>